public class arrTest2 {
    public static void main(String[] args) {
        test();

    }
    public static void test() {
        int[][] a = new int[3][4];
        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < 4; j++) {
                a[i][j] = j;
                System.out.print(a[i][j] = j);
            }
        }
    }
}
